Attempted sorting fix.