selection sort time complexity graph