Sort swpc data inplace.