Sorting & Big-O notation review