simple sorting solution.