Sorting negative and positive tags correctly