added sorting by @timestamp