got me sort function workin