3. 24->-1 ( prime factors are 2^3 * 3= 8*3 where 8 is not prime so print -1). Thanks in advance. +4votes Sorting a list of strings without using any built-in sort method How can we perform Sorting a list of strings without using any built-in sort method?