Simple sorting application