Fixed filtering/sort to work on the asynchronous received data.