> a sorting algorithm may take O(n log(n)) runtime which is pretty common but be able to operate on an array in-place, only requiring O(n) storage.
If it's in-place the sorting might only require constant space and it can be O(1 ) [edit: in terms of space complexity]