return sorted chart titles/urls

Change-Id: Ib18443004e570d2f0e4cbdc4ad4c5af879ca5fe4
Reviewed-on: http://review.couchbase.org/24920
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>