Sorting routines as interview questions