initial implementation
ordering does not affect the line plot